﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YTPD.Lib
{
  internal static class Extensions
  {
    public static void ThrowIfNull(this object self, string name)
    {
      if (self == null)
      {
        throw new ArgumentNullException(name);
      }
    }
  }
}
